*** Settings ***
Library           Selenium2Library

*** Test Cases ***
login1
    Open Browser    http://8.129.162.225:9528/#/login    Chrome
    Maximize Browser Window
    Input Text    name=username    admin
    Sleep    1
    Input Text    name=password    admin123456
    Sleep    1
    Click Element    xpath=//*[@id="app"]/div/form/button/span
    Sleep    15
    Close All Browsers

login2
    Open Browser    http://8.129.162.225:9528/#/login    headlesschrome
    Maximize Browser Window
    Input Text    name=username    admin
    Input Text    name=password    admin123456
    Click Element    xpath=//*[@id="app"]/div/form/button/span
    Close All Browsers

login3
    Open Browser    http://8.129.162.225:9528/#/login    Chrome    options=add_argument("--headless");add_argument("--disable-gpu");add_argument("--no-sandbox")
    Maximize Browser Window
    Input Text    name=username    admin
    Input Text    name=password    admin123456
    Click Element    xpath=//*[@id="app"]/div/form/button/span
    Close All Browsers
